/**
*  Copyright 2002 Sun Microsystems, Inc. All rights reserved.
*/

/**
 *Title Faulty
 * @author xiaofei
 *@version 1.0
 */
package person;
public class Faulty extends Employee{
	protected String degeree;
	protected String level;
	
	public Faulty()
	{
		super();
		this.degeree = null;
		this.level = null;
	}
	
	public Faulty(String name, String address, String telephone, String email, String office, 
			double wage, String hireDate, String degeree, String level)
	{
		super(name, address, telephone, email, office, wage, hireDate);
		this.degeree = degeree;
		this.level = level;
	}
	
	public String toString()
	{
		return "This employee's name is " + super.name + " and address is " + super.address + 
				" and telephone is " + super.telephone + " and email is " + super.email +
				" and office is " + super.office + " and wage is " + super.wage + " and hiredate is "+
				super.hireDate + " and degeree is " + this.degeree + " and level is " + this.level +".";
	}
}
